package com.cellulam.framework.scheduled;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TaskSaveInfo {

    /**
     * 任务类型
     */
    private TaskType type;
    /**
     * 业务标识
     */
    private Long identifier;
    /**
     * 命令
     */
    private String command;
    /**
     * 参数
     */
    private String param;
    /**
     * 计划开始时间
     */
    private LocalDateTime scheduleStartTime;
    /**
     * 计划任务失效时间
     */
    private LocalDateTime scheduleExpireTime;
    /**
     * 备注
     */
    private String memo;

}
